package com.von.relxdemo.service.impl;

import com.von.relxdemo.service.request.OperateReq;
import org.springframework.stereotype.Service;

/**
 * b操作符
 */
@Service
public class BOperateService extends AbstractOperateService{
    @Override
    public Integer getResult(OperateReq req) {
        int result = req.getFirstNum() - 5;
        result = result * req.getSecondNum();
        return result;
    }
}
